package com.app.service;

/*
  @author 阿伟
  @create 2020-11-23:15:03
  反馈/投诉的接口
*/


import com.app.condition.CompliantCondition;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.Compliant;
import com.common.entity.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

public interface CompliantService extends IService<Compliant> {

    //条件查询
    void selectCompliantByLimit(Page<Compliant> page, CompliantCondition compliantCondition);

    //添加反馈
    ResponseResult addCompliant(String userId, String comtype, String question, MultipartFile img);

    //获取所有反馈
    ResponseResult getAllCompliant();
}
